/* 
 * Copyright (C), 2016-2020, 厦门盈欣宝金融信息服务有限公司
 * Project Name :cloud-parent
 * File Name: org.easytouseit.fiegn.service
 * Encoding UTF-8 
 * Version: 1.0 
 * Date: 2018-09-28 16:54
 * History:  
 * 1. Date: 2018-09-28
 *    Author: guojm 
 *    Modification: 新建
 * 2. ...
 */
package org.easytouseit.fiegn.service;

import org.easytouseit.fiegn.common.DemoFeignFallback;
import org.easytouseit.fiegn.config.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author guojm
 * @version V1.0
 * @date 2018-09-28
 */
@FeignClient(name= "eureka-client",fallback = DemoFeignFallback.class,configuration = FeignConfiguration.class)
public interface HelloRemote {

    @RequestMapping(value = "/hello")
    public String hello(@RequestParam(value = "name") String name);
}
